package com.shortlink.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "shortlink.link")
@Data
public class LinkProperties {

    String host;

    String port;

    Integer maxNum;
}
